package hello;

import java.io.Serializable;

public class Address implements Serializable
{
	private Long id;
	private String street;
	private String zipcode;
	private String city;
	
	private Message2 msg2;
	
	public Address(String s,String z,String c)
	{
		street=s;
		zipcode=z;
		city=c;
	}
	
	public Address()
	{
	}
	
	public Message2 getMsg2()
	{
		return msg2;
	}
	public void setMsg2(Message2 m2)
	{
		msg2=m2;
	}
	
	public String getStreet()
	{
		return street;
	}
	public void setStreet(String street)
	{
		this.street=street;
	}
	
	public String getZipcode()
	{
		return zipcode;
	}
	public void setZipcode(String zipcode)
	{
		this.zipcode=zipcode;
	}
	
	public String getCity()
	{
		return city;
	}
	public void setCity(String city)
	{
		this.city=city;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
}